from django.conf.urls import patterns, include, url
import views

urlpatterns = patterns('',
    url(r'^$',views.index),
    url(r'index2/',views.index2), 
    url(r'get_time/(?P<year>\d{4})$',views.get_time),
    url(r'time_plus/(\d+)/$',views.time_plus),
    (r'get_name/(\w+)/$',views.get_name),
    (r'get_info/(?P<name>\w*)/$',views.get_info,{'name':'test'}),
    (r'index_html/$',views.index_html),
    # (r'database/',views.database),
)